package com.bing.task.v1;

import com.bing.util.Env;
import com.bing.util.Excel;
import com.bing.vo.UPlan;

import java.util.concurrent.Callable;

/**
 * Created by Administrator on 2015/2/4 0004.
 */
public class UplanWriteTask implements Runnable {

    private UPlan uPlan;
    private String path;

    public UplanWriteTask(UPlan uPlan,String path) {
        this.uPlan = uPlan;
        this.path= path;
    }

    @Override
    public void run() {
        Excel.createUplan(path, uPlan);
    }
}
